package com.syxx.oa.jbpm.handler;

import org.jbpm.api.jpdl.DecisionHandler;
import org.jbpm.api.model.OpenExecution;

public class PersonnelReq_DecisionHandler implements DecisionHandler  {

	/**
	 * 
	 */
	private static final long serialVersionUID = 1L;

	public String decide(OpenExecution arg0) {
		Object ob = arg0.getVariables().get("isagree");
		if(ob==null){
			return "";
		}
		String toWhere = (String) ob;
		return toWhere;
	}

}
